#ifdef OSGI_USE_15S_HEADER
#include "../interface/InterfaceDef.h"
#include "osgi-core/osgi-predefined.h"
#else // OSGI_USE_15S_HEADER
#ifndef OSGI_CORE_IEVENT_H__
#define OSGI_CORE_IEVENT_H__

#include "osgi-predefined.h"

OSGI_NAMESPACE_BEGIN

OSGI_INTERFACE IEvent
{
	virtual ~IEvent() {}

	virtual const char* OSGI_API EventName() = 0;
	virtual int OSGI_API EventCode() = 0;
};

OSGI_NAMESPACE_END

#endif // OSGI_CORE_IEVENT_H__
#endif // OSGI_USE_15S_HEADER